﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Controls_UC_GroupProduct : System.Web.UI.UserControl
{
    BUS_GroupProduct data = new BUS_GroupProduct();
    protected void Page_Load(object sender, EventArgs e)
    {
        LoadData();
    }
    void LoadData()
    {
        rptCatalog.DataSource = data.GroupProduct_GetByAll();
        rptCatalog.DataBind();
    }
    public string getURL(string id)
    {
        return "Sanpham.aspx?nhom=" + id;
    }
}